<%-- 
    Document   : dao1
    Created on : 2014/8/20, 下午 01:59:02
    Author     : gjun
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%
    dao.BaseDAO y = new dao.BaseDAO();
    String sql = "insert into person(username, tel, birthday) values(?, ?, ?)";
    String[] ary = {"Mary's Dog", "02-3456789", "1998/09/09"};
    int x = y.modify(sql, ary);
    %>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        新增了<%= x %>筆資料
    </body>
</html>
